home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmstanc / _setup.1 / AHMTFileLabel.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-05  |  2.7 KB  |  90 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTFileLabel.pas' rev: 3.00
  6.  
  7. #ifndef AHMTFileLabelHPP
  8. #define AHMTFileLabelHPP
  9. #include <StdCtrls.hpp>
  10. #include <Menus.hpp>
  11. #include <Graphics.hpp>
  12. #include <Classes.hpp>
  13. #include <AHMSControls.hpp>
  14. #include <Dialogs.hpp>
  15. #include <Controls.hpp>
  16. #include <Windows.hpp>
  17. #include <SysUtils.hpp>
  18. #include <SysInit.hpp>
  19. #include <System.hpp>
  20.  
  21. //-- user supplied -----------------------------------------------------------
  22.  
  23. namespace Ahmtfilelabel
  24. {
  25. //-- type declarations -------------------------------------------------------
  26. class DELPHICLASS TAHMFileLabel;
  27. class PASCALIMPLEMENTATION TAHMFileLabel : public Stdctrls::TCustomLabel 
  28. {
  29.     typedef Stdctrls::TCustomLabel inherited;
  30.     
  31. private:
  32.     Ahmscontrols::TAHMAboutSControlStr FAboutStr;
  33.     Graphics::TBitmap* FBitmap;
  34.     System::AnsiString FFilename;
  35.     char FSeparator;
  36.     Classes::TStringList* FParts;
  37.     bool FFirstPartIsDrive;
  38.     void __fastcall SetFilename(System::AnsiString AFilename);
  39.     void __fastcall SetSeparator(char ASeparator);
  40.     void __fastcall FillParts(void);
  41.     void __fastcall AdjustCaption(void);
  42.     
  43. protected:
  44.     virtual void __fastcall Paint(void);
  45.     virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
  46.         );
  47.     
  48. public:
  49.     __fastcall virtual TAHMFileLabel(Classes::TComponent* AOwner);
  50.     __fastcall virtual ~TAHMFileLabel(void);
  51.     virtual void __fastcall Loaded(void);
  52.     virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
  53.     __property WordWrap ;
  54.     __property AutoSize ;
  55.     
  56. __published:
  57.     __property Ahmscontrols::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
  58.     __property System::AnsiString Filename = {read=FFilename, write=SetFilename};
  59.     __property char Separator = {read=FSeparator, write=SetSeparator, default=92};
  60.     __property Align ;
  61.     __property Enabled ;
  62.     __property FocusControl ;
  63.     __property Font ;
  64.     __property ShowHint ;
  65.     __property Visible ;
  66.     __property OnClick ;
  67.     __property OnDblClick ;
  68.     __property OnMouseDown ;
  69.     __property OnMouseMove ;
  70.     __property OnMouseUp ;
  71.     __property OnDragDrop ;
  72.     __property OnEndDrag ;
  73.     __property OnStartDrag ;
  74.     __property OnDragOver ;
  75.     __property DragCursor ;
  76.     __property DragMode ;
  77.     __property ParentColor ;
  78.     __property ParentFont ;
  79.     __property ShowAccelChar ;
  80. };
  81.  
  82. //-- var, const, procedure ---------------------------------------------------
  83.  
  84. }    /* namespace Ahmtfilelabel */
  85. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  86. using namespace Ahmtfilelabel;
  87. #endif
  88. //-- end unit ----------------------------------------------------------------
  89. #endif    // AHMTFileLabel
  90.